/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.z100h.supplychain.sku.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.z100h.supplychain.sku.entity.Sku;
import com.z100h.supplychain.sku.mapper.SkuMapper;

/**
 * 供应链产品管理Service
 * @author madara
 * @version 2018-09-20
 */
@Service
@Transactional(readOnly = true)
public class SkuService extends CrudService<SkuMapper, Sku> {

	@Override
	public Sku get(String id) {
		return super.get(id);
	}

	@Override
	public List<Sku> findList(Sku sku) {
		return super.findList(sku);
	}

	@Override
	public Page<Sku> findPage(Page<Sku> page, Sku sku) {
		return super.findPage(page, sku);
	}

	@Override
	@Transactional(readOnly = false)
	public void save(Sku sku) {
		super.save(sku);
	}

	@Override
	@Transactional(readOnly = false)
	public void delete(Sku sku) {
		super.delete(sku);
	}

}